include $(GNUSTEP_MAKEFILES)/common.make

LIBRARY_NAME = libobjc
libobjc_OBJCFLAGS += -I.. -std=gnu99 -DLINUX -I../ringo/ -I../ringo/libdispatch/ -fcocotron-runtime -g

libobjc_OBJC_FILES=Object.m objc_protocol.m objc_property.m ObjCArray.m\
objc_auto.m objc.m ObjCModule.m Protocol.m ObjCHashTable.m objc_functions.m\
NSRaise.m objc_ivar.m ObjCDynamicModule.m objc_msg_lookup.m objc_sel.m\
objc_malloc.m objc_class.m ObjCException.m objc_object.m\
GCKit/malloc.m GCKit/NSObject.m GCKit/hash_table.m GCKit/cycle.m GCKit/visit.m GCKit/thread.m GCKit/test.m GCKit/workqueue.m GCKit/inline.m GCKit/trace.m objc_debugHelpers.m objc_method.m


libobjc_LDFLAGS+=-Wl,--no-undefined -lpthread -lrt -ldl -lringo -L../ringo/obj platform_linux/objc-msgsend.s -g


include $(GNUSTEP_MAKEFILES)/library.make
